[INFO] cloning repository https://github.com/luser/test-getspecialfolderlocation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luser/test-getspecialfolderlocation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluser%2Ftest-getspecialfolderlocation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluser%2Ftest-getspecialfolderlocation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fca7821bbc667c6dfd85f7fc051fdd80d4dab6df
[INFO] building luser/test-getspecialfolderlocation against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluser%2Ftest-getspecialfolderlocation" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/luser/test-getspecialfolderlocation on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/luser/test-getspecialfolderlocation
[INFO] finished tweaking git repo https://github.com/luser/test-getspecialfolderlocation
[INFO] tweaked toml for git repo https://github.com/luser/test-getspecialfolderlocation written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/luser/test-getspecialfolderlocation already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bdbc73658b8d7c51453d356c282f7b020ebfd2db17d509879d3282f8c7b99601
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "bdbc73658b8d7c51453d356c282f7b020ebfd2db17d509879d3282f8c7b99601", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bdbc73658b8d7c51453d356c282f7b020ebfd2db17d509879d3282f8c7b99601", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bdbc73658b8d7c51453d356c282f7b020ebfd2db17d509879d3282f8c7b99601", kill_on_drop: false }`
[INFO] [stdout] bdbc73658b8d7c51453d356c282f7b020ebfd2db17d509879d3282f8c7b99601
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f0b579da8bd8a8f73cc115ef7b3cb08dd3b9ec2cca80c3acf7b76d205f1bfd5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3f0b579da8bd8a8f73cc115ef7b3cb08dd3b9ec2cca80c3acf7b76d205f1bfd5", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling shell32-sys v0.1.1
[INFO] [stderr]    Compiling test-getspecialfolderlocation v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/main.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `shell32::SHGetSpecialFolderLocation`, `shell32::SHGetPathFromIDListW`
[INFO] [stdout]  --> src/main.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use shell32::{SHGetSpecialFolderLocation, SHGetPathFromIDListW};
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^ no `SHGetPathFromIDListW` in the root
[INFO] [stdout]   |               |
[INFO] [stdout]   |               no `SHGetSpecialFolderLocation` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::wchar_t`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::wchar_t;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no `wchar_t` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winerror`
[INFO] [stdout]  --> src/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::winerror::S_OK;
[INFO] [stdout]   |             ^^^^^^^^ could not find `winerror` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::shtypes`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shtypes::{LPITEMIDLIST, PCIDLIST_ABSOLUTE};
[INFO] [stdout]    |             ^^^^^^^ could not find `shtypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::minwindef::{TRUE, MAX_PATH};
[INFO] [stdout]    |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winnt`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::winnt::LPWSTR;
[INFO] [stdout]    |             ^^^^^ could not find `winnt` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shlobj` in `winapi`
[INFO] [stdout]   --> src/main.rs:16:76
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let res = unsafe { SHGetSpecialFolderLocation(ptr::null_mut(), winapi::shlobj::CSIDL_APPDATA, &mut itemidlist) };
[INFO] [stdout]    |                                                                            ^^^^^^ could not find `shlobj` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 21 |             let s = OsString::from_wide(first);
[INFO] [stdout]    |                               ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `test-getspecialfolderlocation`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "3f0b579da8bd8a8f73cc115ef7b3cb08dd3b9ec2cca80c3acf7b76d205f1bfd5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f0b579da8bd8a8f73cc115ef7b3cb08dd3b9ec2cca80c3acf7b76d205f1bfd5", kill_on_drop: false }`
[INFO] [stdout] 3f0b579da8bd8a8f73cc115ef7b3cb08dd3b9ec2cca80c3acf7b76d205f1bfd5
